package com.bort.system.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("goods")
public class Goods {

    @TableId("id")
    private Integer id;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_code")
    private String goodsCode;

    @TableField("price")
    private BigDecimal price;

    @TableField("goods_image")
    private String goodsImage;

    @TableField("category_id")
    private Integer categoryId;

    @TableField("brand_id")
    private Integer brandId;

    @TableField("stock")
    private Integer stock;

    @TableField("sold")
    private Integer sold;

    @TableField("status")
    private Integer status;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user_id")
    private Integer createUserId;

}
